<?
function getMaster($master)
	{
	$master_array=array("city"=>"_mcity","country"=>"_mcountry","currency"=>"_mcurrency","ship_mode"=>"_mship_mode","company"=>"_mcompany","port"=>"_mport","state"=>"_mstate");
	global $db;
	$db->query="select * from ".$master_array[$master]." order by 3";
	$db->runQuery();
	return $db->returnArrays();
	}


?>